package com.ruoyi.system.service;

import com.ruoyi.common.vo.Result;
import com.ruoyi.system.domain.vo.SendVerifyCodeVo;

import javax.servlet.http.HttpServletRequest;

public interface IVerifyCodeService {
    /**
     * 发送验证码
     * @param sendVerifyCodeVo
     */
    void sendVerifyCode(SendVerifyCodeVo sendVerifyCodeVo);

    void sendVerifyCodeEmail(String to, String verifyCode, String htmlFileName);

    /**
     * 提交验证码
     * @param sendVerifyCodeVo
     */
    Result<?> submitVerify(SendVerifyCodeVo sendVerifyCodeVo);

    String checkClientToken(HttpServletRequest request);
}
